﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace Aribaccio.Device
{
    /// <summary>
    ///  定义结构体输出无符号短整型ushort
    /// </summary>
    [StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
    public struct StructOutputShort
    {
        /// <summary>
        /// 数据长度值
        /// </summary>
        public byte DataLengtht { get; set; }
        /// <summary>
        /// 数据值
        /// </summary>
        public ushort DataValue { get; set; }
    }
}
